<?php 

class ThemeHelper extends Helper {
	var $helpers= array('Html', 'Form');
	
	function select_theme(){
		$select = '<form action="'.$html->url('/').'" method="post">';
		$select .= $form->select('System.theme', array('' => 'none', 'x6tm' => 'x6tm', 'esion' => 'esion'), $this->theme, array('onchange' => 'submit()'), false);
		$select .= $form->end();

		return $this->output($select);
	}
	
}

?>
